import { useLocation, useNavigation, useParams } from "react-router-dom"

const PageC = () => {

  const params = useParams();

  return <div>
    <h2>PageC</h2>
    <div>
      <div>
        <span>路径参数:</span>
        <div>
          <span>id: </span>
          <span>{params.id}</span>
        </div>
      </div>
    </div>
  </div>
}

export default PageC